package core.network.client2game.handler.club;

import lombok.Data;

@Data
public class ClubGameTicketItem {
    /**
     * 被修改玩家
     */
    private long pid;
    /**
     * 执行操作的玩家
     */
    private long exePid;

    /**
     * 所属玩家当前值
     */
    private double pidCurValue;
    /**
     * 所属玩家之前值
     */
    private double pidPreValue;
    /**
     * 执行玩家当前值
     */
    private double execPidCurValue;
    /**
     * 执行玩家之前值
     */
    private double execPidPreValue;
    private double eliminatePoint=0d;

    public ClubGameTicketItem(long pid, long exePid, double pidCurValue, double pidPreValue, double execPidCurValue, double execPidPreValue) {
        this.pid = pid;
        this.exePid = exePid;
        this.pidCurValue = pidCurValue;
        this.pidPreValue = pidPreValue;
        this.execPidCurValue = execPidCurValue;
        this.execPidPreValue = execPidPreValue;
    }
    public ClubGameTicketItem(long pid, long exePid, double pidCurValue, double pidPreValue, double execPidCurValue, double execPidPreValue, double eliminatePoint) {
        this.pid = pid;
        this.exePid = exePid;
        this.pidCurValue = pidCurValue;
        this.pidPreValue = pidPreValue;
        this.execPidCurValue = execPidCurValue;
        this.execPidPreValue = execPidPreValue;
        this.eliminatePoint = eliminatePoint;
    }
}
